home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / gfx / show / gs_src_gs.lha / gs5.03 / decrypt.ps < prev    next >
Text File  |  1994-07-28  |  295b  |  14 lines

  1. % Decrypt an eexec-encoded file.
  2.  
  3. (t.in) (r) file /in exch def
  4. (t.out) (w) file /out exch def
  5. 256 string /buf exch def
  6. 55665        % eexec encryption seed
  7.  { in buf readhexstring /more exch def
  8.    dup .type1decrypt out exch writestring
  9.    more not { exit } if
  10.  } loop
  11. in closefile
  12. out closefile
  13. quit
  14.